package com.briup.estore.service;

import com.briup.estore.common.vo.BookInfoVO;
import com.briup.estore.common.vo.BookVO;

import java.util.List;

/**
* @author adam
* @description 针对表【es_book】的数据库操作Service
* @createDate 2023-07-18 21:32:19
*/
public interface BookService {
    BookInfoVO getBookById(Integer id,int userId) ;

    List<BookVO> getBook(String query);

    List<BookVO> getBooksByCategoryId(Integer categoryId);

    List<BookVO>  showBooks();


}
